package org.zxp.javacheck.stringtest;

import java.lang.reflect.Method;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2020-12-22 16:37
 **/
public class ValueOf {
    public static void main(String[] args) throws NoSuchMethodException {
        Long a = 0L;
        long b = 0L;

        Method valueOf = String.class.getMethod("valueOf", long.class);
        System.out.println(String.valueOf(b));
        test1(a);
        test1(b);
        test2(a);
        test2(b);
    }

    public static void test1(long l){

    }

    public static void test2(Long l){

    }
}
